package de.project.resistor;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import android.widget.Button;


public class ResistorActivity extends Activity {
	
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.startseite);
        /**Funktion fuer den Button Widerstand */
        Button sf_but_widerstand_ring = (Button) findViewById(R.id.sf_but_widerstand_ring);
        sf_but_widerstand_ring.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent in=new Intent(
					ResistorActivity.this,
					widerstand.class
				);
				startActivity(in);
				
			}
		});
        /**Funktion fuer den Button Hochpass/Tiefpass */
        Button sf_hp_tp=(Button)findViewById(R.id.sf_hp_tp);
        sf_hp_tp.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent in=new Intent(
						ResistorActivity.this,
						hochpass_tiefpass.class
				);
				startActivity(in);
				
			}
		});

    }
}